package com.hospital.common.core.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lvyao
 * @since 2022-02-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("STAFF_DICT")
@ApiModel(value="StaffDict对象", description="")
public class StaffDict implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("EMP_NO")
    private String empNo;

    @TableField("DEPT_CODE")
    private String deptCode;

    @TableField("NAME")
    private String name;

    @TableField("INPUT_CODE")
    private String inputCode;

    @TableField("JOB")
    private String job;

    @TableField("TITLE")
    private String title;

    @TableField("USER_NAME")
    private String userName;

    @TableField("WB_CODE")
    private String wbCode;

    @TableField("VALID_INDICATOR")
    private Integer validIndicator;

    @TableField("PASSWORD")
    private String password;

    @TableField("SUPER_FLAG")
    private Integer superFlag;

    @TableField("USER_ID")
    private String userId;

    @TableField(exist = false)
    private String selectedroles;

    @TableField("CREATE_DATE")
    private Date createDate;

    @TableField("CM_FLAG")
    private Integer cmFlag;

    @TableField("CM_PASSWORD")
    private String cmPassword;

    @TableField("CM_MAC")
    private String cmMac;

    @TableField("STAFF_NO")
    private String staffNo;

    @TableField("NATIONAL_NO")
    private String nationalNo;


}
